package edu.rpi.cs.android;

import java.util.*;

public class Accounts	{

	public ArrayList<Account> accts = new ArrayList<Account>();
	public ArrayList<String> dispAccts = new ArrayList<String>();
	private boolean pword_switch;
	private String password;
	
	public Accounts()	{
		
		//Code to go here
		accts.add(new Account("Demo Account"));
		dispAccts.add("Demo Account");
		pword_switch = true;
		password = "foo";
		
	}
	
	public void addAccount(String n)
	{
		accts.add(new Account(n));
		dispAccts.add(n);
	}
	
	public boolean password ()	{
		
		return pword_switch;
		
	}
	
	public boolean compare_pword(String word)	{
		
		return (word == password);
		
	}
	
}